<!--<!DOCTYPE html>
<html lang="en'>
<head>
    <meta charset='UTF-8">
    <title>欢迎使用oa系统</title>
</head>
<body>


<h1>Login Page</h1>
<hr>
<form action="/oa/user/login" method="post">
    username:<input type = "text" name="username"><br>
    password:<input type = "password" name="password"><br>
    <input type="submit" value="login">
</form>
<form action="/oa/user/register" method="post">
    username:<input type = "text" name="username"><br>
    password:<input type = "password" name="password"><br>
    <input type="submit" value="Register">
</form>
</body>
</html>-->
<!--<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎使用OA系统</title>
</head>
<body>

<h1>Login Page</h1>
<hr>
<form action="/oa/user/login" method="post">
    <label for="login-username">Username:</label>
    <input type="text" id="login-username" name="username" required><br>
    <label for="login-password">Password:</label>
    <input type="password" id="login-password" name="password" required><br>
    <input type="submit" value="Login">
</form>

<h1>Register Page</h1>
<hr>
<form action="/oa/user/register" method="post">
    <label for="register-username">Username:</label>
    <input type="text" id="register-username" name="username" required><br>
    <label for="register-password">Password:</label>
    <input type="password" id="register-password" name="password" required><br>
    <label for="register-email">Email:</label>
    <input type="email" id="register-email" name="email" required><br>
    <input type="submit" value="Register">
</form>

</body>
</html>-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎使用OA系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
        }
        h1 {
            text-align: center;
            color: #333;
        }
        hr {
            border: 0;
            height: 1px;
            background: #ddd;
            margin: 20px 0;
        }
        form {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 5px;
            color: #555;
        }
        input[type="text"],
        input[type="password"],
        input[type="email"] {
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 100%;
        }
        input[type="submit"] {
            padding: 10px;
            border: none;
            border-radius: 4px;
            background-color: #28a745;
            color: #fff;
            cursor: pointer;
            font-size: 16px;
        }
        input[type="submit"]:hover {
            background-color: #218838;
        }
        .form-section {
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="form-section">
        <h1>Login Page</h1>
        <hr>
        <form action="/oa/user/login" method="post">
            <label for="login-username">Username:</label>
            <input type="text" id="login-username" name="username" required>
            <label for="login-password">Password:</label>
            <input type="password" id="login-password" name="password" required>
            <input type="submit" value="Login">
        </form>
    </div>
    <div class="form-section">
        <h1>Register Page</h1>
        <hr>
        <form action="/oa/user/register" method="post">
            <label for="register-username">Username:</label>
            <input type="text" id="register-username" name="username" required>
            <label for="register-password">Password:</label>
            <input type="password" id="register-password" name="password" required>
            <label for="register-email">Email:</label>
            <input type="email" id="register-email" name="email" required>
            <input type="submit" value="Register">
        </form>
    </div>
</div>
</body>
</html>
